﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ucData : System.Web.UI.UserControl
{
    public DateTime DataSelecionada
    {
        get
        {
            return Convert.ToDateTime(TextBox1.Text);
        }
        set
        {
            TextBox1.Text = value.ToString("dd/MM/yyyy");
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {

    }
}
